import request from '@/utils/request'

// 注册
export function registerUser(data) {
    return request({
        url: '/h5/user/register',
        headers: {
            isToken: false
        },
        method: 'post',
        data: data
    })
}

// 登录
export function loginUser(data) {
    return request({
        url: '/h5/user/login',
        headers: {
            isToken: false
        },
        method: 'post',
        data: data
    })
}


// 修改密码
export function editPwd(data) {
    return request({
        url: '/h5/user/editPwd',
        method: 'put',
        data: data
    })
}
 